package org.tea.application.configuration;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 和服务端相关的一些配置属性
 *
 * @author lxh
 */
@Configuration
@ConfigurationProperties(prefix = "crawl.server")
public class CrawlServerConfiguration {

    private String host;

    private int port;

    private String domServerPath;

    private String cookieServerPath;

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getDomServerPath() {
        return domServerPath;
    }

    public void setDomServerPath(String domServerPath) {
        this.domServerPath = domServerPath;
    }

    public String getCookieServerPath() {
        return cookieServerPath;
    }

    public void setCookieServerPath(String cookieServerPath) {
        this.cookieServerPath = cookieServerPath;
    }
}
